<html>
	<head>
		<meta charset="utf-8"/>
		<title>BSerialPort</title>
		<link rel="stylesheet" type="text/css" href="./style.css"/>
	</head>
	<body>
		<h1>BSerialPort</h1>
		<p>Inherites from <a href="BObject.html">BObject</a></p>
		<h2>public</h2>
		<table id="public"><tr><td align="right">enum </td><td><a href="35Mode">Mode</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35BaudRate">BaudRate</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35DataBits">DataBits</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35Direction">Direction</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35FlowControl">FlowControl</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35Parity">Parity</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35PinoutSignal">PinoutSignal</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35SerialPortError">SerialPortError</a></td></tr>
			<tr><td align="right">enum </td><td><a href="35StopBits">StopBits</a></td></tr>
			<tr><td align="right"></td><td><a href="#BSerialPort()">BSerialPort</a>();</td></tr>
			<tr><td align="right"></td><td><a href="#~BSerialPort()">~BSerialPort</a>();</td></tr>
			<tr><td align="right">void </td><td><a href="#setPortName(const BString&)">setPortName</a>(const BString& portName);</td></tr>
			<tr><td align="right">const BString& </td><td><a href="#portName()">portName</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setBaudRate(BaudRate)">setBaudRate</a>(BaudRate baudRate);</td></tr>
			<tr><td align="right">BaudRate </td><td><a href="#baudRate()">baudRate</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setDataBits(DataBits)">setDataBits</a>(DataBits dataBits);</td></tr>
			<tr><td align="right">DataBits </td><td><a href="#dataBits()">dataBits</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setDirection(Direction)">setDirection</a>(Direction direction);</td></tr>
			<tr><td align="right">Direction </td><td><a href="#direction()">direction</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setFlowControl(FlowControl)">setFlowControl</a>(FlowControl flowControl);</td></tr>
			<tr><td align="right">FlowControl </td><td><a href="#flowControl()">flowControl</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setParity(Parity)">setParity</a>(Parity parity);</td></tr>
			<tr><td align="right">Parity </td><td><a href="#parity()">parity</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#setStopBits(StopBits)">setStopBits</a>(StopBits stopBits);</td></tr>
			<tr><td align="right">StopBits </td><td><a href="#stopBits()">stopBits</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#open(Mode)">open</a>(Mode mode = ModeReadWrite);</td></tr>
			<tr><td align="right">bool </td><td><a href="#isOpen()">isOpen</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#close()">close</a>();</td></tr>
			<tr><td align="right">int </td><td><a href="#read(char*, int)">read</a>(char* data, int maxSize);</td></tr>
			<tr><td align="right">int </td><td><a href="#read(BByteArray&,int)">read</a>(BByteArray& bytes, int maxSize = -1);</td></tr>
			<tr><td align="right">int </td><td><a href="#write(const void*, int)">write</a>(const void* data, int size);</td></tr>
			<tr><td align="right">int </td><td><a href="#write(const BByteArray&)">write</a>(const BByteArray& bytes);</td></tr>
			<tr><td align="right">bool </td><td><a href="#flush()">flush</a>();</td></tr>
		</table>
		<h2>protected</h2>
		<table id="protected"/>
		<div id="desc">
			<h2>Detailed Description : </h2>
		</div>
		<h2 id="docs">Member Documentation</h2>
		<div id="5Mode">
			<h3>enum Mode</h3>
			<table class="enum">Mode
				<tr><td>ModeNone</td><td>desc</td></tr>
				<tr><td>ModeRead</td><td>desc</td></tr>
				<tr><td>ModeWrite</td><td>desc</td></tr>
				<tr><td>ModeReadWrite</td><td>desc</td></tr>
				<tr><td>ModeMax</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5BaudRate">
			<h3>enum BaudRate</h3>
			<table class="enum">BaudRate
				<tr><td>BaudNone</td><td>desc</td></tr>
				<tr><td>Baud1200</td><td>desc</td></tr>
				<tr><td>Baud2400</td><td>desc</td></tr>
				<tr><td>Baud4800</td><td>desc</td></tr>
				<tr><td>Baud9600</td><td>desc</td></tr>
				<tr><td>Baud19200</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5DataBits">
			<h3>enum DataBits</h3>
			<table class="enum">DataBits
				<tr><td>DataNone</td><td>desc</td></tr>
				<tr><td>Data5</td><td>desc</td></tr>
				<tr><td>Data6</td><td>desc</td></tr>
				<tr><td>Data7</td><td>desc</td></tr>
				<tr><td>Data8</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5Direction">
			<h3>enum Direction</h3>
			<table class="enum">Direction
				<tr><td>DirectNone</td><td>desc</td></tr>
				<tr><td>DirectInput</td><td>desc</td></tr>
				<tr><td>DirectOutput</td><td>desc</td></tr>
				<tr><td>DirectBoth</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5FlowControl">
			<h3>enum FlowControl</h3>
			<table class="enum">FlowControl
				<tr><td>FlowNone</td><td>desc</td></tr>
				<tr><td>FlowHardware</td><td>desc</td></tr>
				<tr><td>FlowSoftware</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5Parity">
			<h3>enum Parity</h3>
			<table class="enum">Parity
				<tr><td>ParityNone</td><td>desc</td></tr>
				<tr><td>ParityEven</td><td>desc</td></tr>
				<tr><td>ParityOdd</td><td>desc</td></tr>
				<tr><td>ParitySpace</td><td>desc</td></tr>
				<tr><td>ParityMark</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5PinoutSignal">
			<h3>enum PinoutSignal</h3>
			<table class="enum">PinoutSignal
				<tr><td>SignalNone</td><td>desc</td></tr>
				<tr><td>SignalTransmittedData</td><td>desc</td></tr>
				<tr><td>SignalReceivedData</td><td>desc</td></tr>
				<tr><td>SignalDataTerminalReady</td><td>desc</td></tr>
				<tr><td>SignalSecondaryReceivedData</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5SerialPortError">
			<h3>enum SerialPortError</h3>
			<table class="enum">SerialPortError
				<tr><td>ErrorNone</td><td>desc</td></tr>
				<tr><td>ErrorNoDevice</td><td>desc</td></tr>
				<tr><td>ErrorPermission</td><td>desc</td></tr>
				<tr><td>ErrorOpen</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="5StopBits">
			<h3>enum StopBits</h3>
			<table class="enum">StopBits
				<tr><td>StopNone</td><td>desc</td></tr>
				<tr><td>StopOne</td><td>desc</td></tr>
				<tr><td>StopOneAndHalf</td><td>desc</td></tr>
				<tr><td>StopTwo</td><td>desc</td></tr>
				<tr><td/><td>desc</td></tr>
			</table>
		</div>
		<div id="BSerialPort()">
			<h3>BSerialPort();</h3>
		</div>
		<div id="~BSerialPort()">
			<h3>~BSerialPort();</h3>
		</div>
		<div id="setPortName(const BString&)">
			<h3>void setPortName(const BString& portName);</h3>
		</div>
		<div id="portName()">
			<h3>const BString& portName() const;</h3>
		</div>
		<div id="setBaudRate(BaudRate)">
			<h3>bool setBaudRate(BaudRate baudRate);</h3>
		</div>
		<div id="baudRate()">
			<h3>BaudRate baudRate() const;</h3>
		</div>
		<div id="setDataBits(DataBits)">
			<h3>bool setDataBits(DataBits dataBits);</h3>
		</div>
		<div id="dataBits()">
			<h3>DataBits dataBits() const;</h3>
		</div>
		<div id="setDirection(Direction)">
			<h3>bool setDirection(Direction direction);</h3>
		</div>
		<div id="direction()">
			<h3>Direction direction() const;</h3>
		</div>
		<div id="setFlowControl(FlowControl)">
			<h3>bool setFlowControl(FlowControl flowControl);</h3>
		</div>
		<div id="flowControl()">
			<h3>FlowControl flowControl() const;</h3>
		</div>
		<div id="setParity(Parity)">
			<h3>bool setParity(Parity parity);</h3>
		</div>
		<div id="parity()">
			<h3>Parity parity() const;</h3>
		</div>
		<div id="setStopBits(StopBits)">
			<h3>bool setStopBits(StopBits stopBits);</h3>
		</div>
		<div id="stopBits()">
			<h3>StopBits stopBits() const;</h3>
		</div>
		<div id="open(Mode)">
			<h3>bool open(Mode mode = ModeReadWrite);</h3>
		</div>
		<div id="isOpen()">
			<h3>bool isOpen() const;</h3>
		</div>
		<div id="close()">
			<h3>void close();</h3>
		</div>
		<div id="read(char*, int)">
			<h3>int read(char* data, int maxSize);</h3>
		</div>
		<div id="read(BByteArray&,int)">
			<h3>int read(BByteArray& bytes, int maxSize = -1);</h3>
		</div>
		<div id="write(const void*, int)">
			<h3>int write(const void* data, int size);</h3>
		</div>
		<div id="write(const BByteArray&)">
			<h3>int write(const BByteArray& bytes);</h3>
		</div>
		<div id="flush()">
			<h3>bool flush();</h3>
		</div>
	</body>
</html>